package com.gopay.remote.bank;

import com.gopay.common.Result;
import com.gopay.common.domain.bank.BaseMessage;
import com.gopay.common.exception.GopayException;

/** 
 * 小额免密支付业务接口
 * @ClassName: MicroPayInteractRemoteService 
 * @author w_jiqing 
 * @date 2017年5月25日 下午2:30:30  
 */ 
public interface MicroPayInteractRemoteService {
    
    /** 
     * 支付接口
     * @param base
     * @return
     * @throws GopayException 
     * @author w_jiqing 
     */
    public Result pay (BaseMessage base) throws GopayException;
    
    /** 
     * 支付订单查询接口
     * @param base
     * @return
     * @throws GopayException 
     * @author w_jiqing 
     */
    public Result orderQuery(BaseMessage base) throws GopayException;
    
    /** 
     * 退款接口 
     * @param base
     * @return
     * @throws GopayException 
     * @author w_jiqing 
     */
    public Result refund(BaseMessage base) throws GopayException;
    
    /** 
     * 退款订单查询接口
     * @param base
     * @return
     * @throws GopayException 
     * @author w_jiqing 
     */
    public Result refundQuery(BaseMessage base) throws GopayException;
    
    /** 
     * 充值请求接口 
     * @param base
     * @return
     * @throws GopayException 
     * @author w_jiqing 
     */
    public Result reverse(BaseMessage base) throws GopayException;
    
    /** 
     * 冲正查询请求接口
     * @param base
     * @return
     * @throws GopayException 
     * @author w_jiqing 
     */
    public Result reverseQuery(BaseMessage base) throws GopayException;


}
